package com.visionet.school.app.web.web.account;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by hxpeng on 2017/3/9.
 */

/**
 * 登录，注册控制器
 */

@Controller
@RequestMapping("/user")
public class UserController {


    @RequestMapping(value= "/login" , method = RequestMethod.GET)
    public String login(){
        return "login";
    }

    @RequestMapping(value = "/register", method = RequestMethod.GET)
    public String register(){
        return "register";
    }


    @RequestMapping( value= "/one" , method = RequestMethod.GET)
    public String one(){
        return "testone";
    }
    @RequestMapping( value= "/two" , method = RequestMethod.GET)
    public String two(){
        return "testtwo";
    }



}
